package com.thread.exe;

import java.util.HashSet;
import java.util.Set;

import com.effective.Person;

public class PersonSet {
	private final Set<Person> mySet = new HashSet<Person>();
	
	public synchronized void addPers(Person p) {
		mySet.add(p);
	}
}
